Basics
Introduction to Python
- Installing Python and setting up the environment
- Python syntax and structure
- Running Python scripts
Data Types and Variables
- Integers, floats, strings, booleans
- Lists, tuples, dictionaries, sets
- Variable assignment and naming conventions
Basic Operators
- Arithmetic operators
- Comparison operators
- Logical operators
- Assignment operators
Control Structures
- Conditional statements (if, elif, else)
- Loops (for, while)
- Break and continue statements
Intermediate
Functions
- Defining and calling functions
- Parameters and return values
- Lambda functions
- Scope and lifetime of variables
Modules and Packages
- Importing modules
- Creating and using your own modules
- Python Standard Library
File Handling
- Reading from and writing to files
- Working with different file formats (e.g., text, CSV, JSON)
- File handling methods (open, read, write, close)
Error and Exception Handling
- Try, except, finally blocks
- Handling different types of exceptions
- Raising exceptions
Advanced
Object-Oriented Programming (OOP)
- Classes and objects
- Methods and attributes
- Inheritance and polymorphism
- Encapsulation and abstraction
Data Structures
- Advanced list operations
- Dictionary comprehensions
- Sets and frozensets
- Collections module (namedtuple, deque, Counter)
Decorators and Generators
- Understanding and using decorators
- Creating and using generators
- yield keyword
Concurrency and Parallelism
- Threading and multiprocessing
- Asynchronous programming (asyncio)
- Concurrent futures